<!-- modal -->
<div class="modal fade bs-example-modal-sm" id="primaryModal" tabindex="-1" role="dialog" aria-labelledby="editModal">
    <div class="modal-primary" role="document">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">×</span></button>
                    <h4 class="modal-title" id="editModal">编辑段子</h4>
                </div>
                <div class="modal-body">
                    <form class="form-horizontal">
                        <div class="box-body">
                            <input type="hidden" id="news_id" >
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">作者:</label>
                                <div class="col-sm-9">
                                    <input type="email" class="form-control" id="username" placeholder="作者" disabled="">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">内容:</label>
                                <div class="col-sm-9">
                                    <textarea class="form-control" id="content" style="height: 140px;" placeholder="内容"></textarea>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">日期:</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" id="created_at" placeholder="日期" disabled="">
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
                <div class="modal-footer">
                    <button type="button" id="but_save" class="btn btn-outline">保存</button>
                    <button type="button" class="btn btn-outline" data-dismiss="modal">关闭</button>
                </div>
            </div>
        </div>
    </div>
</div>
